0. Preface0.1 CopyrightCopyright 1998-2001, the OpenLDAP Foundation, All rights reserved.Copyright 1992-1996, Regents of the University of Michigan, All rights reserved.The Chinese version is translated by ntko. E-mail: dominoreg@sina.com. To
Introduction to OpenLDAP
The installation will not be mentioned, starting from the configuration.1. Main configuration file slapd. confThe content includes three types: Global, backend specific, and database specific. Global settings, backend server
Create
Some time ago to write a program, but not perfect, can not determine whether there is the user, now complement the lookup function.Code deficiencies, hope feel free!The complete code is as follows:
' Program Purpose: Create Exchange 2000
ldapsearch Parameter TableThe following table describes the case-sensitive parameters that can be used for ldapsearch.
Parameters
Use
-?
Print help on using Ldapsearch.
-A Deref
Specifies an alias
ldapsearch Parameter TableThe following table can be used to describe the description of Ldapsearch write and lowercase references.
Number of references
Use
-?
Print help on using Ldapsearch.
-A
ldapsearch Parameter TableThe following table can be used to describe the description of Ldapsearch write and lowercase references.
Number of references
Use
-?
Print help on using Ldapsearch.
-A
ldapsearch TablesThe following table describes the difference between uppercase and lowercase parameters that can be used for ldapsearch.
Number of references
Use
-?
Print help on using Ldapsearch.
Parameters
Use
-?
Print help on using Ldapsearch.
-A Deref
Specifies the alias reverse reference. Please enter never, always, search, or find. If you do not use this parameter, the default is never.
First, Bulk import accountsProcedure and principle:1 , first make a simple template with an Excel table and save it as a. csv format! 2 , and then use the for command combined with dsadd to complete the batch creation of users! Command used: (Note:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.